-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(backend): Introduce OrganizationPermissionAPI #2178
Conversation
🦋 Changeset detectedLatest commit: 677c99f The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
export type PermissionType = 'system' | 'user'; | ||
|
||
/** | ||
* @deprecated In the next major release this type will change to string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔧 If we have added the OrganizationMembershipRole
in v4 (release/v4
), we could add the deprecation in the v4 version and replace it with the new API in v5 version (main
branch)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's what i was thinking, I merge this and backport it and then create another PR to address this that will not be backported
22cecc9
to
677c99f
Compare
This reverts commit 0ce0edc
Description
Add OrganizationPermissionAPI for CRUD operations regarding instance level organization permissions.
Checklist
npm test
runs as expected.npm run build
runs as expected.Type of change
Packages affected
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/clerk-expo
@clerk/fastify
gatsby-plugin-clerk
@clerk/localizations
@clerk/nextjs
@clerk/clerk-react
@clerk/remix
@clerk/clerk-sdk-node
@clerk/shared
@clerk/themes
@clerk/types
build/tooling/chore